import { TableState } from 'ant-design-vue/es/table/interface'
export type AxiosFunction = (data: any) => boolean;
export type Pagination = TableState['pagination'];
export interface State {
  dataSource:any[];
  loading:boolean;
  pageNum:number;
  pageSize:number;
  totalCount:number;
}
export interface ApiParams {
  id:number
}
export interface SetApi {
  enable:(params:ApiParams)=>void;
  disable:(params:ApiParams)=>void;
}
export interface SearchFunc {
  (first: boolean): void;
}
export interface Record {
  isDeleted: boolean;
  id: number;
  disabled: undefined | boolean;
}
